package com.jhf.youke.wechat.domain.model.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.jhf.youke.core.ddd.BaseDtoEntity;
import com.jhf.youke.core.utils.JacksonStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
/**
 * @author RHJ
 * **/

@Data
@Accessors(chain = true)
@SuppressWarnings("serial")
public class UserDto extends BaseDtoEntity {

    private static final long serialVersionUID = 589681336171901182L;


    @ApiModelProperty(value = "用户所属账号id")
    @JsonSerialize(using = JacksonStringSerializer.class)
    private Long accountId;

    @ApiModelProperty(value = "用户唯一标识")
    private String openId;

    @ApiModelProperty(value = "手机号码")
    private String phone;

    @ApiModelProperty(value = "用户昵称")
    private String nickName;

    @ApiModelProperty(value = "头像")
    private String avatarUrl;

    @ApiModelProperty(value = "性别 0未知 1男性 2女性")
    private Integer gender;

    @ApiModelProperty(value = "用户所在国家")
    private String country;

    @ApiModelProperty(value = "用户所在省份")
    private String province;

    @ApiModelProperty(value = "用户所在城市")
    private String city;


    @ApiModelProperty(value = "用户标识")
    private  Long  userId;
    
    @ApiModelProperty(value = "单位标识")
    private Long companyId;




}


